package com.jsf.service;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Admin
 */
public class Car {
    
    private String randomId;
    
    private int randomYear;
    
    private String randomColor;
    
    private String randomBrand;
    
    private int randomPrice;
            
    private boolean randomSoldState;
    
    
    public Car(){};
    
    public Car(String randomId, String randomBrand, int randomYear, String randomColor, int randomPrice, Boolean randomSoldState){
        this.randomId=randomId;
        this.randomBrand=randomBrand;
        this.randomYear=randomYear;
        this.randomColor=randomColor;
        this.randomPrice=randomPrice;
        this.randomSoldState=randomSoldState;
    };

    /**
     * @return the randomId
     */
    public String getRandomId() {
        return randomId;
    }

    /**
     * @param randomId the randomId to set
     */
    public void setRandomId(String randomId) {
        this.randomId = randomId;
    }

    /**
     * @return the randomYear
     */
    public int getRandomYear() {
        return randomYear;
    }

    /**
     * @param randomYear the randomYear to set
     */
    public void setRandomYear(int randomYear) {
        this.randomYear = randomYear;
    }

    /**
     * @return the randomColor
     */
    public String getRandomColor() {
        return randomColor;
    }

    /**
     * @param randomColor the randomColor to set
     */
    public void setRandomColor(String randomColor) {
        this.randomColor = randomColor;
    }

    /**
     * @return the randomBrand
     */
    public String getRandomBrand() {
        return randomBrand;
    }

    /**
     * @param randomBrand the randomBrand to set
     */
    public void setRandomBrand(String randomBrand) {
        this.randomBrand = randomBrand;
    }

    /**
     * @return the randomPrice
     */
    public int getRandomPrice() {
        return randomPrice;
    }

    /**
     * @param randomPrice the randomPrice to set
     */
    public void setRandomPrice(int randomPrice) {
        this.randomPrice = randomPrice;
    }

    /**
     * @return the randomSoldState
     */
    public boolean isRandomSoldState() {
        return randomSoldState;
    }

    /**
     * @param randomSoldState the randomSoldState to set
     */
    public void setRandomSoldState(boolean randomSoldState) {
        this.randomSoldState = randomSoldState;
    }
    
    
}
